package design.mode.decorator;


/**
 * @author ZhongMingde on 2021/11/2
 */

public class Decorator {

  public static void main(String[] args) {
    InputStream dataInputStream = new DataInputStream();
    BufferedInputStream bufferedInputStream = new BufferedInputStream(dataInputStream);
    System.out.println(bufferedInputStream.read(new byte[1024]));
  }
}
